Categories

Versions

Add Contents to Project (AI Hub) (Admin Tools)

Synopsis

This operator adds contents from a local Studio Repository, the v9 Legacy Repository of AI Hub Server or an AI Hub Server's Project to a Project on a different AI Hub Server instance. The source contents can be selected from a Project (Project to Project), Legacy Repository (Legacy Repository to Project) or Local Studio repositories (Studio to Project).

Description

The source can be AI Hub Legacy Repository, a Project or local Studio repositories. The operator requires two connections for Source Repository Type Legacy or Project.

Please pay special attention to Connections! They can only reside inside the /Connections folder in the target Project. Furthermore, related vault entries are not migrated to the target AI Hub. Ensure to revisit all added Connections manually and users must re-create their vault entries afterwards.

The operator returns a table with the following columns: sourceRepositoryType, targetProjectName, targetLocation, targetRef, bytesUploaded, uploadStarted, uploadFinished

Please ensure to have enough disk space available during execution of this operator when you invoke large transfers between AI Hub instances or also for your Local Studio repositories. A temporary ZIP file with the contents is being created inside the extension's temporary directory which can be large depending on your selected source data. The ZIP file will then get uploaded to the target AI Hub and the local temporary file is deleted in any case.

Furthermore, make sure to properly configure source and target HTTP timeouts as downloading and uploading huge files might exceed the default values on the client and on the receiving end. You can do so by adapting your AI Hub instances. In addition, you might like to fine-tuning Add Contents to Project operator parameters by adjusting the default request and response timeout values. The values are used both for request and response (source and target).

Input

  • src_aihub_connection (Connection)

    An AI Hub Connection IOObject of the source AI Hub. This defines where the contents will be generated from.

  • tar_aihub_connection (Connection)

    An AI Hub Connection IOObject for the target AI Hub. This defines where the contents will be added to.

Output

  • src_aihub_connection (Connection)

    The AI Hub Connection IOObject from the input port, delivered as a passthru.

  • tar_aihub_connection (Connection)

    The AI Hub Connection IOObject from the input port, delivered as a passthru.

  • exa (Data table)

    An ExampleSet containing information about the process of adding contents to a Project on an AI Hub.

Parameters

  • source_repository_type The source repository type, e.g. Legacy Server, Project or Local/Studio. Range:
  • source_location Source: The source depending on the repository type. For a Project or Legacy Server provide /myfolder/mysubfolder. For Local/Studio provide a repository entry by selecting it via RapidMiner Studio's file selector. Range:
  • source_repository_folder Source: For Local/Studio repositories the folder to be added as contents. Only works in RapidMiner Studio. Range:
  • source_project_name Source: The URL conform ID of the Project, e.g. my-test-project of the source connection. Range:
  • source_ref Source: For Project as source, provide the Project's reference (branch). master is default. Range:
  • target_project_name Target: The URL conform ID of the Project, e.g. my-test-project of the target connection. Range:
  • target_location Target: The location within the target Project where the contents will be added to. Can be left blank for root folder. Sub-folders should be defined without trailing slash, e.g. mydata or mydata/mysubfolder. This is the location of the target connection. Range:
  • target_ref The Project's reference (branch). master is default. This is the location of the target connection. Range:
  • clean_up_first Clean up first. Caution! Existing content will be deleted for the location within the Project. Range:
  • fail_on_error Determine if process fails when there was an error invoking the adding contents request. Range:
  • connect_timeout Determines connect timeout in seconds for source and target. The connect timeout is applied when connecting a TCP socket to the target host. The default value is 10 seconds. Range:
  • read_timeout Determines read timeout in seconds for source and target. The read timeout is applied to both the TCP socket and for individual read IO operations. The default value is 10 seconds. Range:
  • write_timeout Determines write timeout in seconds for source and target. The write timeout is applied for individual write IO operations. The default value is 10 seconds. Range: